package com.ttms.service;



import com.ttms.pojo.Page;
import com.ttms.pojo.Play;
import com.ttms.pojo.PlayLang;
import com.ttms.pojo.PlayType;

import java.util.List;

public interface PlayService {
    public void addPlay(Play play);

    public void deletePlayById(Integer id);

    public void updatePlay(Play play);

    public Play queryPlayById(Integer id);

    public List<Play> queryPlays();

    Page<Play> page(int pageNo, int pageSize);
    public List<PlayType> queryPlayTypes();

    public List<PlayLang> queryPlayLangs();
    public Page<Play> queryPlayByName(int begin, int pageSize, String play_name);


}
